package src.lab02.test36;

/**
 * Created by 林云志 on 2017/11/22.
 */
public class Undergraduate extends Student{

    Undergraduate(int grades){
            String grade_level = "";
        if (grades > 80) {
            grade_level = "优秀！";
        } else if (grades > 70) {
            grade_level = "良好！";
        } else if (grades > 60) {
            grade_level = "一般！";
        } else if (grades > 50) {
            grade_level = "及格！";
        } else {
            grade_level = "不及格！";
        }
        System.out.println(grade_level);
    }
}
